﻿using IterationLife.Educations.Queries;
using IterationLife.Extensions.ControllerBase;
using IterationLife.PlatformBackEnd.AppServices.Contracts.Educations;
using IterationLife.PlatformBackEnd.AppServices.Dtos.Educations;

namespace IterationLife.PlatformBackEnd.WebSite.Areas.Educations.Controllers {
    /// <summary>
    /// 教材版本控制器
    /// </summary>
    public class TextbookEditionController : FormControllerBase<TextbookEditionDto, TextbookEditionQuery> {
        /// <summary>
        /// 初始化教材版本控制器
        /// </summary>
        /// <param name="service">教材版本服务</param>
        public TextbookEditionController( ITextbookEditionService service ) 
            : base( service ) {
            TextbookEditionService = service;
        }

        /// <summary>
        /// 教材版本服务
        /// </summary>
        public ITextbookEditionService TextbookEditionService { get; private set; }
    }
}